package com.marisfrolg.gateway.mapper;

import com.marisfrolg.gateway.entity.ClientPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lgg
 * @since 2023-01-05
 */
public interface ClientPermissionMapper extends BaseMapper<ClientPermission> {

    List<String> getPermissions(@Param("clientId") String clientId);

}
